package com.wanxi.reflect;

 class Student {
    private String name;
    public int age;

    private Student(String name) {
        this.name = name;
    }

    private Student(int age) {
        this.age = age;
    }

    public Student() {
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void study(){
        System.out.println("study");
    }
    private void sleep(){
        System.out.println("sleep");
    }
}
